/* all fields */
.my-form-field {
	margin: 0 0 0 0;
	font: normal 12px tahoma, arial, helvetica, sans-serif;
}

/* ---- text fields ---- */
.my-form-text, textarea.my-form-field {
	padding: 1px 3px;
	background: #fff url( images/default/form/text-bg.gif ) repeat-x 0 0;
	border: 1px solid #B5B8C8;
}

.my-form-text {
	height: 22px;
	line-height: 18px;
	vertical-align: middle;
}

.ext-ie .my-form-text {
	margin-top: -1px; /* ie bogus margin bug */
	height: 22px; /* ie quirks */
	line-height: 18px;
}

.ext-strict .my-form-text {
	height: 18px;
}

.ext-safari .my-form-text {
	height: 20px; /* safari always same size */
	padding: 0 3px; /* remove extra top/bottom padding */
}

.ext-gecko .my-form-text {
	padding-top: 2px; /* FF won't center the text vertically */
	padding-bottom: 0;
}

/* field focus style */
.my-form-focus, textarea.my-form-focus {
	border: 1px solid #7eadd9;
}

/* invalid fields */
.my-form-invalid, textarea.my-form-invalid {
	background: #fff url( images/default/form/invalid_line.gif ) repeat-x bottom;
	border: 1px solid #dd7870;
}

.ext-safari .my-form-invalid {
	background-color: #ffeeee;
	border: 1px solid #ff7870;
}

.my-form-empty-field {
	color: gray;
}

.my-form-invalid-icon {
	background: transparent url( images/default/form/exclamation.gif ) no-repeat
	scroll 0pt 2px;
	display: block;
	height: 18px;
	left: 0pt;
	position: absolute;
	top: 0pt;
	width: 16px;
}

/* wrapped fields and triggers */

.my-form-field-wrap {
	position: relative;
	zoom: 1;
	white-space: nowrap;
}

.my-editor .my-form-check-wrap {
	background: #fff;
}

.my-form-field-wrap .my-form-trigger {
	width: 17px;
	height: 21px;
	border: 0;
	background: transparent url( images/default/form/trigger.gif ) no-repeat 0 0;
	cursor: pointer;
	border-bottom: 1px solid #B5B8C8;
	position: absolute;
	top: 0;
}

.ext-safari .my-form-field-wrap .my-form-trigger {
	height: 21px; /* safari doesn't allow height adjustments to the fields, so adjust trigger */
}

.my-form-field-wrap .my-form-date-trigger {
	background-image: url( images/default/form/date-trigger.gif );
	cursor: pointer;
}

.my-form-field-wrap .my-form-clear-trigger {
	background-image: url( images/default/form/clear-trigger.gif );
	cursor: pointer;
}

.my-form-field-wrap .my-form-search-trigger {
	background-image: url( images/default/form/search-trigger.gif );
	cursor: pointer;
}

.ext-safari .my-form-field-wrap .my-form-trigger {
	right: 0;
}

.my-form-field-wrap .my-form-twin-triggers {

}

.my-form-field-wrap .my-form-twin-triggers .my-form-trigger {
	position: static;
	top: auto;
	vertical-align: top;
}

.my-form-field-wrap .my-form-trigger-over {
	background-position: -17px 0;
}

.my-form-field-wrap .my-form-trigger-click {
	background-position: -34px 0;
}

.my-trigger-wrap-focus .my-form-trigger {
	background-position: -51px 0;
}

.my-trigger-wrap-focus .my-form-trigger-over {
	background-position: -68px 0;
}

.my-trigger-wrap-focus .my-form-trigger-click {
	background-position: -85px 0;
}

.my-trigger-wrap-focus .my-form-trigger {
	border-bottom: 1px solid #7eadd9;
}

.my-item-disabled .my-form-trigger-over {
	background-position: 0 0 !important;
	border-bottom: 1px solid #B5B8C8;
}

.my-item-disabled .my-form-trigger-click {
	background-position: 0 0 !important;
	border-bottom: 1px solid #B5B8C8;
}